package com.kqb.order.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@Accessors(chain = true)
@ApiModel("购物车VO")
public class ShopCartItemVO implements Serializable {

    @ApiModelProperty(value = "加入购物车时间")
    private Date createTime;

    @ApiModelProperty(value = "购物车ID")
    private Long cartItemId;

    @ApiModelProperty(value = "店铺ID")
    private Long shopId;

    @ApiModelProperty(value = "产品ID")
    private Long spuId;

    @ApiModelProperty(value = "SkuID")
    private Long skuId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "购物车产品个数")
    private Integer count;

    @ApiModelProperty(value = "是否已经勾选")
    private Integer isChecked;

    @ApiModelProperty(value = "售价，加入购物车时的商品价格")
    private Long priceFee;

    @ApiModelProperty(value = "当前商品价格")
    private Long skuPriceFee;

    @ApiModelProperty(value = "当前总价格(商品价格 * 数量)")
    private Long totalPriceFee;

    @ApiModelProperty(value = "当前总价格(商品价格 * 数量)(带小数)")
    private Long totalPrice;

    @ApiModelProperty(value = "商品重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "商品体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "商品图片")
    private String imgUrl;

    @ApiModelProperty(value = "总金额")
    private Long totalAmount;

    @ApiModelProperty(value = "sku规格信息")
    private String skuName;

    @ApiModelProperty(value = "spu名称")
    private String spuName;

    @ApiModelProperty(value = "分类id")
    private Long categoryId;

    @ApiModelProperty(value = "单个orderItem的配送类型3：无需快递")
    private Long deliveryType;


}
